package com.icloud.article.boot.vo;

import com.icloud.article.boot.model.Discuss;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;


@ApiModel("评论vo")
@Data
public class DiscussVo extends Discuss {

    @ApiModelProperty("发送人name")
    private String fromUsername;

    @ApiModelProperty("接受人name")
    private String toUsername;

    @ApiModelProperty("是否已点赞，true:是 false：未点赞")
    private Boolean isUpvote;

    @ApiModelProperty("下级评论")
    private List<DiscussVo> child;
}
